package com.example.administrator.ttphonehelper.bean;

import android.graphics.drawable.Drawable;

/**
 * Created by Administrator on 2016/4/14 0014.
 */
public class ProcessBean {
    //进程名字
    private String name;
    //占用内存
    private float memory;
    //是否是系统进程
    private boolean isSysProcess;
    //进程图标
    private Drawable icon;

    public ProcessBean(String name) {
        this.name = name;
    }

    public ProcessBean(String name, Drawable icon) {
        this.name = name;
        this.icon = icon;
    }

    public ProcessBean(String name, float memory, boolean isSysProcess, Drawable icon) {
        this.name = name;
        this.memory = memory;
        this.isSysProcess = isSysProcess;
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getMemory() {
        return memory;
    }

    public void setMemory(float memory) {
        this.memory = memory;
    }

    public boolean isSysProcess() {
        return isSysProcess;
    }

    public void setSysProcess(boolean sysProcess) {
        isSysProcess = sysProcess;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }
}
